﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using HalconDotNet;

namespace Halcon二次开发.View.相机
{
    public partial class RealTimeCamerForm : Form
    {
        public RealTimeCamerForm()
        {
            InitializeComponent();
            hSmartWindowControl1.MouseWheel += HSmartWindowControl1_MouseWheel;
           
        }

        private void HSmartWindowControl1_MouseWheel(object sender, MouseEventArgs e)
        {
            (sender as HSmartWindowControl).HSmartWindowControl_MouseWheel(sender, e);
        }

        private void RealTimeCamerForm_FormClosing(object sender, FormClosingEventArgs e)
        {
            this.Hide();
            e.Cancel = true;
        }
    }
}
